package Task;
 
public class MinigameContent extends Content {
	private String location; /**< location id */
	private String triggerType; /**< what kind of trigger */
	private String triggerParam;
	
	public MinigameContent(){
		super(Content.MINIGAME);
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getTriggerType() {
		return triggerType;
	}
	
	public String getTriggerParam(){
		return triggerParam;
	}

	public void setTrigger(String type, String param) {
		triggerType = type;
		triggerParam = param;
	}
	
	public String toString(){
		return "Location: "+location+"\n\tTrigger: "+triggerType+"("+triggerParam+")";
	}
}
